home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / x10msw20.zip / X10MSW.TXT < prev    next >
Text File  |  1992-12-09  |  60KB  |  1,628 lines

  1. Introduction
  2.     What is X10MSW?
  3.     Getting Started
  4.     Demo Mode See Selecting Demo Mode
  5. Windows
  6.     Units
  7.     Monitor    Current
  8.     Events
  9.     Event File
  10. Procedures
  11.     Associated with Units
  12.     Associated with Events
  13.     Associated with Interfacing to the CP290 and PLIX
  14.     Associated with Monitoring
  15. Glossary
  16.  
  17. appliance
  18. base housecode
  19. bright
  20. conditionals
  21. days
  22. description
  23. demo mode
  24. dim
  25. event
  26. fade
  27. housecode
  28. lamp
  29. normal
  30. PLIX
  31. security
  32. select
  33. time
  34. today
  35. tomorrow
  36. TW523
  37. type
  38. unit
  39. unit number
  40. up
  41. x10.ini
  42.  
  43. --------------------------------------------------------------------------
  44. Overview of X10MSW
  45.  
  46. X10MSW is a MS-Windows application which allows you to control lights, 
  47. appliances, etc. around your home from your PC.  X10MSW is meant to be 
  48. used with the CP290 "Powerhouse" computer interface manufactured by 
  49. X10 USA, although there is a demo mode which does not require a  CP290.  
  50. The CP290 attaches to your PC via a serial cable, and works with other X10 
  51. devices (called units) to control lights, appliances, etc. around your house.  
  52. With X10MSW, you can send "direct" commands to turn things on, off, or, in 
  53. the case of lights, dim or brighten them.  You can also download a set of 
  54. events into the CP290's battery backed-up memory for execution at some 
  55. preset time/day.  Once the CP290 has a set of events in its memory, you 
  56. can turn the PC off and the CP290 will continue to execute those events.  
  57. Events are anything you can do with "direct" commands such as on, off, 
  58. dim, etc.
  59.  
  60. X10MSW also supports the PLIX evaluation board from Micromint Inc. 
  61. which allows you to use a standard parallel printer port (LPT1-3) with a 
  62. TW523 bi-directional powerline interface from X10 USA.  This allows you to 
  63. monitor all X10 events and to do bright commands.  See PLIX for contact 
  64. information on Micromint Inc.
  65.  
  66. X10MSW allows you to define a set of icons which represent the various 
  67. X10 units you have around your house.  X10MSW has icons for lamps, 
  68. generic appliances, fans, radios; or you can customize each X10 unit with 
  69. your own icons that represent the unit when it is on and off.  You give each 
  70. unit a description which is used throughout X10MSW.  X10MSW also allows 
  71. you to monitor the commands being sent by the CP290, or with the optional 
  72. PLIX interface monitor all X10 commands.  Finally, X10MSW allows you to 
  73. manange multiple files which contain CP290 events.  It does all this using 
  74. MS-Windows Multiple Document Interface (MDI) which allows several 
  75. windows within the one X10MSW main window.
  76.  
  77. X10MSW events are fairly sophisticated, consisting of a command such as 
  78. on, off, dim, bright, etc.;  the X10 unit or units which are to be affected; a 
  79. time of day including sunrise, sunset, or plus/minus offset from them; a day 
  80. of the week; and a month of the year.  Each event can be frozen - meaning 
  81. it will not occur until you thaw it; or it can be qualified to only occur when 
  82. you are on vacation (you have to tell X10MSW you are going on vacation); 
  83. or it can be qualified by any of 8 conditionals which you define and set or 
  84. reset.
  85.  
  86. X10MSW events may also be defined to happen "now", allowing you to build 
  87. up event files which do a bunch of direct commands.  If you start X10MSW, 
  88. giving the name of an event file with only "now" events, they will be done 
  89. automatically and X10MSW will exit after all direct commands are done.
  90.  
  91.  
  92.  
  93. --------------------------------------------------------------------------
  94. Getting Started
  95.  
  96. X10MSW can be kept in any directory.  You do not need to install or 
  97. configure X10MSW before running it.  It does create and use an x10.ini file 
  98. in your MS-Windows directory.   You can edit the .ini file if you wish, but you 
  99. can configure/customize X10MSW's operation completely from within 
  100. X10MSW.  A sample x10.ini file is included which you can copy to your MS-
  101. Windows directory.
  102.  
  103. If X10MSW is given the name of an event file when it is started, that file is 
  104. opened and its contents are displayed in an Event File window.
  105. Since all X10MSW event files have an extension of .x10, you can associate 
  106. X10MSW with an extension of .x10 (Use MS-Windows File Manager) to 
  107. have MS-Windows start X10MSW when you double click on an event file.  If 
  108. the event file has only direct (now) commands, they will be done 
  109. automatically and X10MSW will exit when finished.
  110.  
  111. X10MSW uses the current MS-Windows colors for things like title bars, 
  112. backgrounds, text, etc.  If you change the MS-Windows colors via the 
  113. control panel X10MSW will change its colors accordingly.
  114.  
  115. You will probably want to set up the following parameters the first time you 
  116. start X10MSW:
  117.  
  118. 1) Define the COM port to which the CP290 is attached
  119.  
  120. The first time you start X10MSW you will be in demo mode (you probably 
  121. saw the message box telling you this before you got into this help text).  In 
  122. order to actually use a CP290, you need to use the Interface menu item to 
  123. select the COM port (1-4) X10MSW is to open to communicate with the 
  124. CP290.  See Selecting COM Ports.
  125.  
  126. 2) Set the CP290 Base Housecode and Time
  127.  
  128. If you were using the CP290 before, chances are you have its base 
  129. housecode and time already set.  If not, you can use the Interface menu item 
  130. to set the base housecode (for the keys on the CP290) and the time.  See 
  131. Changing Base Housecode and Setting the Clock.
  132.  
  133. 3) Set the Latitude and Logitude
  134.  
  135. In order to use times like sunset and sunrise, X10MSW needs to know your 
  136. Latitude and Longitude.  A file with the Lat/Long for many cities around the 
  137. world is included with X10MSW - it is called latlong.dat.  Use your favorite 
  138. editor or Windows Notepad to view the file and locate your Latitude and 
  139. Longitude.  You can also find Latitude/Longitude in an almanac.  X10MSW 
  140. only uses degrees, not minutes or seconds.
  141.  
  142. Once you know your Latitude and Longitude, select (click once) the current 
  143. events child window and use the Set Lat/Long item in the Options menu to 
  144. bring up a dialog box for telling X10MSW your Latitude and Longitude.  See 
  145. also Setting Latitude/Longitude.
  146.  
  147. 4) Define the units in your home
  148.  
  149. A sample x10.ini file is included which you can copy to your MS-Windows 
  150. directory to see what a sample set of units is like.  You should use the Units 
  151. child window to add/edit/delete the units so they match those defined in your 
  152. home.  See Procedures Associated with Units:for more help.  At this point 
  153. you are ready to exert direct control over any units you have defined.
  154.  
  155. 5) Save any events currently in the CP290
  156.  
  157. If you have been using the CP290, you probably have some events stored in 
  158. its memory.  To upload and save these events, follow these steps:
  159.  
  160. a)  Restore the child window called "current events"
  161. b) Wait until the upload completes - IGNORE THESE EVENTS
  162.  
  163. X10MSW uses the graphics RAM in the CP290 to save additional 
  164. information about events, such as month of the year, user conditionals, 
  165. frozen, etc.  Your old CP290 program probably did not use this, and so the 
  166. events you see will look funny.
  167.  
  168. c) Use the Upload - no conditionals item under the File menu
  169.  
  170. This uploads without the stuff kept in the graphics RAM.  These events will 
  171. be active for all 12 months of the year, not frozen, etc.  You can save these 
  172. events to a file and edit them later.
  173.  
  174. 5) Look at the sample.x10 event file
  175.  
  176. You can open the sample.x10 event file to see examples of some 
  177. complicated events.  Note that when you open an event file you can tell 
  178. X10MSW to remember a particular directory.  All file operations (open, save, 
  179. etc.) will start in that directory from then on, including after you have exited 
  180. and re-started X10MSW.
  181.  
  182.  
  183. --------------------------------------------------------------------------
  184. Units Window
  185.  
  186. The Units child window displays the collection of icons that represent the 
  187. units you have defined.  Each unit has a housecode, a unit number, and a 
  188. description.  Each unit also has a type which causes a certain icon, such as 
  189. a light bulb, a fan, etc. to be displayed.  You can define your own unit types 
  190. and the icons that represent them.  There is usually an active unit whose 
  191. description is highlighted (referred to as selected).
  192.  
  193. The unit icons are arranged based upon the size of the description.  If you 
  194. resize the window, the icons may move, but their order will be unchanged.  
  195. If there are too many icons to fit the current window size, scroll bars wil 
  196. appear and you can use those to scroll the icons into view, or use the 
  197. PgDn/PgUp keys.
  198.  
  199. Note that this window cannot be closed.
  200.  
  201. Procedures Associated with Units
  202.     Adding a Unit
  203.     Selecting a Unit
  204.     Controlling a Unit
  205.     Deleteing a Unit
  206.     Changing a Unit
  207.     Creating New Unit Types/Icons
  208.     Rearranging Unit Icons
  209.     
  210. Commands
  211.     File Menu
  212.     Edit Menu
  213.     Direct Menu
  214.     AllUnits Menu
  215.     Interface Menu
  216.     Window Menu
  217.     
  218. --------------------------------------------------------------------------
  219. Monitor Window
  220.  
  221. The Monitor child window allows you to monitor the commands sent by the 
  222. CP290, either direct commands (via X10MSW or keys), or stored events.  
  223. Unfortunately, the CP290 cannot tell X10MSW about commands sent by 
  224. other X10 controllers.  With the optional PLIX inteface X10MSW can monitor 
  225. all X10 commands generated by any console/device in your house.  The 
  226. monitor child window can display CP290 only, PLIX only, or both.  In 
  227. addition, commands received by the PLIX interface can cause a short beep.
  228.  
  229. The Monitor window holds up to 100 commands, each of which is optionally 
  230. time and/or date stamped.  You can scroll back and forth using the scroll 
  231. bars and/or PgUp/PgDn; and also start a log file.  The log file is limited only 
  232. by available disk space; it does not wrap.
  233.  
  234. The Monitor window will continue to monitor commands even when 
  235. minimized.  If you scroll the most recent command off the screen, the 
  236. window will not scroll; otherwise the window will scroll down as commands 
  237. are displayed.
  238.  
  239. Note that this window cannot be closed.
  240.  
  241. See also Procedures Associated with Monitoring:.
  242. Commands
  243.     File Menu
  244.     Options Menu
  245.     Interface Menu
  246.     Window Menu
  247.     
  248. --------------------------------------------------------------------------
  249. Procedures Associated with Monitoring
  250.  
  251. To change date and/or time stamping:
  252.  
  253. 1) Use the Options menu item to choose time/date stamping.  A checkmark 
  254. indicates what is active.  Time/Date stamping will affect both the display and 
  255. logging of commands sent by the CP290.
  256.  
  257. To clear the window:
  258.  
  259. 1) Use the ClearScreen item in the Options menu  to clear the window.
  260.  
  261. To start/stop logging to a file:
  262.  
  263. 1) Use the File menu to start/stop logging to a file.  When starting, you will 
  264. get a dialog box to select the file to write to.  If the file exists, you will be 
  265. asked to confirm overwriting it.  The name of the log file is placed in the 
  266. monitor window title bar.
  267.  
  268. To control display of CP290 and/or PLIX commands:
  269.  
  270. 1) Use the Options menu item and check any combination of Show CP290 
  271. and/or Show PLIX.  A checkmark indicates commands received by that 
  272. device will be displayed.  Commands received via the PLIX interface will be 
  273. prefixed with a "PLIX" string in the monitor output.
  274.  
  275. To cause a short beep when commands are received via the PLIX:
  276.  
  277. 1) Use the Options menu item and check Beep PLIX.  A checkmark 
  278. indicates a short beep will be made whenever a command is received from 
  279. the PLIX interface.
  280.  
  281.  
  282. --------------------------------------------------------------------------
  283. Current Events Window
  284.  
  285. The current events child window is a special event window which  reflects 
  286. the set of events currently in the CP290.  You can manipulate the events 
  287. just as you would in an event file.  
  288.  
  289. The current events window is in one of two modes - immediate or delayed.  
  290. When in immediate mode, any change you make to an event is immediately 
  291. made in the CP290.  In delayed, you must download the set of events to the 
  292. CP290.
  293.  
  294. The current events window starts minimized.  When you restore it, an 
  295. upload from the CP290 is done.  If you download the CP290 from another 
  296. event file, the current events window is updated to reflect the new set of 
  297. events.
  298.  
  299. Note that this window cannot be closed.
  300.  
  301. See also Procedures Associated with Events.
  302.  
  303. Commands
  304.     File Menu
  305.     Edit Menu
  306.     Options Menu
  307.     Interface Menu
  308.     Window Menu
  309.  
  310. --------------------------------------------------------------------------
  311. Event File Window
  312.  
  313. Event file child windows allow you to manipulate a set of events and 
  314. load/store them from/to files and/or download them to the CP290.  You can 
  315. have multiple event file windows open at one time, allowing you to easily see 
  316. the differences between them.  X10MSW likes to save events to files with 
  317. extension of .x10, but you could use any extension.
  318.  
  319. You open an event file, which creates an event file window, by using the 
  320. Open item in the File Menu at any point.  You can create a new event file by 
  321. using the New item in the File Menu.
  322.  
  323. Each Event window has a listbox which displays the events in the file.  If you 
  324. resize the window,  the listbox changes size with it.  The event listbox has a 
  325. vertical scroll bar but no horizontal scroll bar.
  326.  
  327. See also Procedures Associated with Events.
  328.  
  329. Commands
  330.     File Menu
  331.     Edit Menu
  332.     Options Menu
  333.     Interface Menu
  334.     Window Menu
  335.     
  336. --------------------------------------------------------------------------
  337. Procedures Associated with Interfacing to the CP290 and PLIX
  338.     Selecting COM Ports
  339.     Selecting Demo Mode
  340.     Activating PLIX Ports
  341.     Changing Base Housecode
  342.     Setting the Clock
  343.     Testing the CP290
  344.  
  345.  
  346. --------------------------------------------------------------------------
  347. File Menu
  348.  
  349. This menu has several items in common to all child windows, and some 
  350. items which are unique and change with the active child window.  Items in 
  351. common are:
  352.  
  353. Open - open an event file (creates event child window)
  354. New - creates a new event file (and event child window)
  355. Exit - exits X10MSW - asks for confirmation if you made
  356.     any changes
  357. About - simple about box   
  358.  
  359. See also:
  360. File Command Menu - Monitor Window
  361. File Command Menu - Current  Events Window
  362. File Command Menu - Event File Window
  363.  
  364.  
  365. --------------------------------------------------------------------------
  366. File Command Menu - Monitor Window
  367.  
  368. The File menu when the Monitor child window is active has an item which 
  369. allows you to start/stop logging of events.  The menu item changes 
  370. depending on whether the log is open or closed.
  371.  
  372. See Procedures Associated with Monitoring
  373.  
  374.  
  375. --------------------------------------------------------------------------
  376. File Command Menu - Current Events Window
  377.  
  378. The File menu when the current events child window is active has items 
  379. which allow you to save the current events into an events file, append an 
  380. events file, upload from the CP290, download a set of events to the CP290, 
  381. or print the current events.
  382.  
  383. See:
  384.  
  385. Save
  386. Save As
  387. Append
  388. Upload
  389. Download
  390. Print
  391.  
  392.  
  393. --------------------------------------------------------------------------
  394. File Command Menu - Event File Window
  395.  
  396. The File menu when an event file child window is active has items which 
  397. allow you to save the events into the file they came from or into a different 
  398. file; open another event file using the same event window; append another 
  399. event file to the event file open in this window; download this set of events, 
  400. or print this event file.
  401.  
  402. See:
  403.  
  404. Save
  405. Save As
  406. Open Another
  407. Append
  408. Download
  409. Print
  410.  
  411.  
  412. --------------------------------------------------------------------------
  413. Direct Command Menu
  414.  
  415. Allows you to command a unit to turn on, off, dim, fade, or go up.If the PLIX 
  416. interface is active you can also do a bright command.  Simply select a unit, 
  417. and use the appropriate item in the Direct menu.  You may also control a 
  418. unit by double-clicking with a mouse or selecting it and hitting Enter on the 
  419. keyboard.
  420.  
  421. Note that on, off, dim and bright are done via the PLIX interface (if active);  
  422. fade and up are always done via the CP290.
  423.  
  424.  
  425. --------------------------------------------------------------------------
  426. Edit  Menu - Units Window
  427.  
  428. Allows you to add, delete, or change unit definitions.  When you define a 
  429. unit, you supply its housecode, unit number, description, and type.  This 
  430. information is used to display a unit in the Units window.
  431.  
  432. See:
  433.  
  434. Add
  435. Del
  436. Change
  437.  
  438. Note that when there are no units defined, the Del and Change items are 
  439. not valid.
  440.  
  441.  
  442. --------------------------------------------------------------------------
  443. Edit Menu - Event Window(s)
  444.  
  445. Allows you to add, delete, or change an event.  If there are no events in the 
  446. window, delete and change are disabled.  The standard cut, copy, and 
  447. paste clipboard operations are supported on events.  This menu also allows 
  448. you to strip or set conditions on all events in the window.
  449.  
  450. See:
  451.  
  452. Add
  453. Del
  454. Change
  455. Global Cond Set
  456. Global Cond Strip
  457.  
  458. Note that if there are no events in the window, only the Add item is valid
  459.  
  460.  
  461. --------------------------------------------------------------------------
  462. AllUnits Menu
  463.  
  464. These commands allows you to command all unitss to turn on, off, dim, or 
  465. fade.  Note that with the CP290, you will turn all units, be they lamp or 
  466. appliance units on, unlike other X10 command consoles which will only turn 
  467. all lamps on.
  468.  
  469. You can command units with the same housecode as the CP290 base 
  470. housecode, or you can specify any other housecode.
  471.  
  472. When a PLIX interface is active, all lights on and all units off is done via the 
  473. PLIX, all dim and all fade are done via the CP290.  Unlike the CP290, the 
  474. PLIX interface does generate the all lights on command.
  475.  
  476.  
  477. --------------------------------------------------------------------------
  478. Interface Menu
  479.  
  480. This command allows you to set the com port (1-4) to which the CP290 is 
  481. attached. Note that the com port you choose is saved in the x10.ini and will 
  482. be used next time X10MSW is run.   This menu also allows you to select 
  483. demo mode.
  484.  
  485. Similarly, you use this menu to activate a PLIX interface on a parallel port 
  486. (LPT1-3).
  487.  
  488. You also use this command to change the CP290's base housecode, clock, 
  489. or run self-tests.
  490.  
  491. See:
  492.  
  493. Selecting COM Ports
  494. Selecting Demo Mode
  495. Activating PLIX Ports
  496. Changing the CP290 Clock
  497. Changing the base housecode
  498. Testing the CP290
  499.  
  500.  
  501. --------------------------------------------------------------------------
  502. Monitor Options Menu
  503.  
  504. This menu allows you to turn date and/or time stamping on or off.  You can 
  505. also clear the window, control CP290/PLIX output, and cause a short beep 
  506. when commands are received via the PLIX interface..
  507.  
  508. See Procedures Associated with Monitoring
  509.  
  510.  
  511. --------------------------------------------------------------------------
  512. Event Options Menu
  513.  
  514. Gives you control over how events are sorted; allows you to define your own 
  515. conditionals; and, for the current events window, allows you to switch 
  516. between immediate and delayed mode.
  517.  
  518. See:
  519.  
  520. Sort by Housecode/Unit
  521. Sort by Time
  522. Set Conditionals
  523. Set Lat/Long
  524.  
  525.  
  526. --------------------------------------------------------------------------
  527. Window Menu
  528.  
  529. This is a standard MDI window menu which allows you to arrange the child 
  530. windows or select the active child window.  Note that the Arrange Icons 
  531. item does not mean arrange the unit icons
  532.  
  533.  
  534. --------------------------------------------------------------------------
  535. Adding a Unit
  536.  
  537. To define a new unit:
  538.  
  539. 1) Choose Add from the Edit menu
  540.                         - or -
  541.       Click  anywhere there is no unit icon
  542. 2) Choose the housecode
  543. 3) Choose the unit number
  544. 4) Enter the unit description5) Choose the unit type by selecting a type from 
  545. the listbox.  You can see the "on" and "off" icons that will be used to 
  546. represent the unit by selecting a type from the listbox.  As part of this, you 
  547. may create a new type and/or change the icons (see Creating New Unit 
  548. Types/Icons).
  549.  
  550. The ADD button adds this unit, and leaves the dialog so you can add 
  551. another unit
  552. The OK button adds this unit and exits the dialog
  553.  
  554. The new unit will be displayed in the Units window, and be selected.  This 
  555. makes it easy to rearrange the new unit's icon in the unit window.  The add 
  556. dialog starts with a unit number that is one greater than the currently 
  557. selected unit (or the last unit added); and is started with the CP290's base 
  558. houscode.
  559.  
  560.  
  561. --------------------------------------------------------------------------
  562. Deleting a Unit
  563.  
  564. To delete a unit:
  565.  
  566. 1) Select  a unit from the Units window
  567. 2) Choose Del from the Edit menu
  568.      - or -
  569.      Use the Del key
  570. 3) You will be asked to confirm the deletion of the unit
  571.  
  572. The first unit in the Units window will be selected.
  573.  
  574.  
  575. --------------------------------------------------------------------------
  576. Changing a Unit
  577.  
  578. To change a unit:
  579.  
  580. 1) Select  a unit from the Units window
  581. 2) Choose Change from the Edit menu 
  582. 3) A dialog similar to Addding a unit will display the current unit's 
  583. parameters
  584. 4) Make the changes required
  585. 5) Either the CHANGE or OK button will make the change
  586.  
  587. If you change the unit number or housecode to one already defined, you will 
  588. asked if you want to really do that.  If you change only the description or 
  589. type, the icon will not "move" in the Units window.   Otherwise the icon will 
  590. move, but you can always rearrange the icons.
  591.  
  592.  
  593. --------------------------------------------------------------------------
  594. Selecting a Unit
  595.  
  596. To select a unit in the Units window:
  597.  
  598. mouse        Click on its icon or text.  Note
  599.         that if not all units are visible in the
  600.         Units window, you can use the
  601.         scroll bar to scroll the Units
  602.         window. 
  603.  
  604. keyboard    Use the cursor or tab keys to
  605.         move from unit to unit.  Note
  606.         that  if not all the units are visible in the
  607.         Units window, you can use the
  608.         PageUp and PageDown keys
  609.         to scroll the Units window
  610.  
  611.  
  612. --------------------------------------------------------------------------
  613. Selecting COM Ports
  614.  
  615. To select/change the port to which the CP290 is connected:
  616.  
  617. 1) Choose COM1-4 from the Interface menu
  618.      The port chosen will be checked.
  619.  
  620. X10MSW will try to get the base housecode from the CP290 immediately.  If 
  621. the cable is not connected, the com port is not working, the CP290 is not 
  622. working, you have the com ports configured in Windows incorrectly, or 
  623. some other problem which prevents X10MSW from getting the base 
  624. housecode, you will see a timeout message.  Correct the problem and re-
  625. select the com port .
  626.  
  627. The com port to use is changed in the x10.ini file and used by X10MSW 
  628. next time it is started
  629.  
  630.  
  631. --------------------------------------------------------------------------
  632. Selecting Demo Mode
  633.  
  634. To run X10MSW in demo mode
  635.  
  636. 1) Choose Demo from the Interface menu.
  637.  
  638. Note that if you were actually using a com port, it
  639. will be "forgotten" and you will have to re-select it (see Selecting Com 
  640. Port).
  641.  
  642. 2)  X10MSW will run in demo mode (even if you exit and re-start it) until you 
  643. select a com port
  644.  
  645.  
  646. --------------------------------------------------------------------------
  647. Changing the base housecode
  648.  
  649. To change the CP290's base housecode:
  650.  
  651. 1) Choose Housecode from the Interface menu.     The existing base 
  652. housecode will be displayed.
  653. 2) Choose the new base housecode
  654.  
  655. Note that changing the base housecode will erase all events stored in 
  656. the CP290.  You will be asked to confirm that you really want to do 
  657. this.
  658.  
  659.  
  660. --------------------------------------------------------------------------
  661. Changing the CP290 clock
  662.  
  663. To change the CP290's internal clock:
  664.  
  665. 1) Choose Clock from the Interface menu.  The existing CP290 time/day 
  666. will be displayed.
  667. 2) You may change the time/day and choose OK.   If you enter the time in 24-
  668. hour format, it will  be converted to 12 hour AM/PM format.
  669.         - or -
  670. 3) You may choose the button displaying the system  time/day to sync the 
  671. CP290 with the system clock
  672.  
  673. Note that in either case, the time will be changed when you make your 
  674. selection.  If you take a few minutes to decide/review your selection, the 
  675. CP290 clock will be slow
  676.  
  677.  
  678. --------------------------------------------------------------------------
  679. Testing the CP290
  680.  
  681. To run the CP290's self-tests:
  682.  
  683. 1) Choose TestX10 from the Interfacemenu.
  684.  
  685. This takes a few seconds; you will be told whether the tests failed or 
  686. succeeded.
  687.  
  688. Note that running self-tests will erase all events stored in the CP290 .  
  689. You will be asked to confirm that you really want to do this.  If you 
  690. upload after a self-test, you will see a lot of garbage events.
  691.  
  692.  
  693. --------------------------------------------------------------------------
  694. Activating PLIX Ports
  695.  
  696. To activate a PLIX evaluation board:
  697.  
  698. 1) Choose PLIX from the Interface menu
  699. 2) Choose LPT1-LPT3 or No PLIX
  700.  
  701. X10MSW will check that a PLIX evaluation board is connected to the 
  702. parallel port you specify, turn on the power to the PLIX board, and begin to 
  703. poll for X10 commands received by the board.  The LPT port is saved in the 
  704. x10.ini file and is opened when X10MSW is started.
  705.  
  706. A checkmark is placed next to the LPT port being used for the PLIX board.
  707. If an error has occured when accessing the board no LPT ports will be 
  708. checked.  X10 MSW expects LPT1 to be at (hex) 378, LPT2 at 278, and 
  709. LPT3 at 3BC.
  710.  
  711. Choosing No PLIX will turn off the board's power and will stop the opening 
  712. of a LPT port for the PLIX board when X10MSW is started.
  713.  
  714. Note that, if possible, the PLIX board should be powered either via a battery 
  715. or an AC adapter connected via the battery leads rather than the J5 
  716. connection.  This allows X10MSW to turn off power and reset the PLIX chip 
  717. to clear any errors.
  718.  
  719.  
  720. --------------------------------------------------------------------------
  721. Creating New Unit Types/Icons
  722.  
  723. When you add or change a unit, you specify a type.  Each type has an "on" 
  724. icon and an "off" icon which is used when displaying the unit in the Units 
  725. window.  X10MSW has a set of pre-defined types and icons that go with 
  726. them.  You can add your own types whenever you add/change a unit.  You 
  727. will give the type a name, an "on" icon and an "off" icon.  These are 
  728. recorded in the x10.ini.  You can also change the icons of the pre-defined 
  729. icons, but you will need to change both the "on" and "off" icons.
  730.  
  731. The following procedures assume you are in the Add/Change a Unit dialog 
  732. box (via add or change).
  733.  
  734. To define a new unit type:
  735.  
  736. 1)  Use the New button.
  737. 2) Specify the "on" icon file
  738. 3) Specify the "off" icon file
  739. 4) Give the type a description
  740. 5) Specify whether the type is a lamp or appliance
  741. 6) Choose OK
  742.  
  743. To customize an icon for a type:
  744.  
  745. 1) Select the type from the listbox
  746. 2) Use the Change button
  747. 3) Make changes as required.  Note that if you are changing a pre-defined 
  748. icon (lamp, appliance, misc, coffee, lampost, radio, or fan) you must change 
  749. both the "on" and "off" icons.
  750.  
  751. Currently the only way to "delete" a custom icon is to edit the x10.ini file and 
  752. remove the icon description from either the "LampIcon" or "OtherIcon" 
  753. sections.
  754.  
  755. If X10MSW finds a unit icon that is unknown, a special icon with a question 
  756. mark is used to represent the unit.
  757.  
  758.  
  759.  
  760. --------------------------------------------------------------------------
  761. Controlling a Unit
  762.  
  763. To turn a unit on or off:
  764.  
  765. mouse        Double-click the unit icon.
  766.         The icon will change to indicate
  767.         on or off.
  768.  
  769. keyboard    Select the unit and hit enter.
  770.         The icon will change to indicate
  771.         on or off.
  772.  
  773. To dim, fade, or up a unit, you must use the Direct menu
  774.  
  775.  
  776. --------------------------------------------------------------------------
  777. Rearranging Unit Icons
  778.  
  779. To rearrange unit icons within the Unit window:
  780.  
  781. 1) Select a unit
  782. 2) Hold down the shift key and click the left mouse button on the unit where 
  783. you  want the selected unit to be moved to
  784.  
  785. All the units "after" (left to right, top to bottom) the spot you moved the
  786. icon to will be moved over.
  787.  
  788. Moving an icon to the last position requires two moves, one to move it to the 
  789. second-to-last position by Shift/Clicking on the last icon, and then selecting 
  790. the last icon and moving it to the second-to-last position
  791.  
  792.  
  793. --------------------------------------------------------------------------
  794. Procedures Associated with Events
  795.     All about Events
  796.     Working with Current Events
  797.     Opening an Event file
  798.     Creating a New Event file
  799.     Event Dialog Box
  800.     Adding an Event
  801.     Deleteing an Event
  802.     Changing an Event
  803.     Using the Clipboard
  804.     Appending from another Event file
  805.     Saving an Event file
  806.     Downloading Events
  807.     Uploading Events
  808.     Closing an Event window
  809.     Controlling how Events are sorted
  810.     Defining user-defined Event Conditionals
  811.     Setting/Resetting Event Conditionals
  812.     Setting Latitude/Longitude and Timezone
  813.     Printing an Event File
  814.  
  815.  
  816. --------------------------------------------------------------------------
  817. All about Events
  818.  
  819. Events are stored in the CP290's memory and used to control units (turn 
  820. some on, some off, etc.) at  the times and on the days you want.  This is 
  821. done completely by the CP290, the PC does not have to be on (if it is the 
  822. CP290 tells X10MSW when it does an event - you can see these in the 
  823. Monitor window).  The CP290 can hold a maximum of 128 events.
  824. Each event consists of the following parts:
  825.  
  826. Info. stored and used by the CP290:
  827. 1) Housecode
  828. 2) One or more units
  829. 3) A command:  on, off, dim, up, or fade
  830. 4) A time (more about this below)
  831. 5) A day or set of days
  832.  
  833. Extra info. stored and used by X10MSW:
  834. 6) Time "qualifiers" like now, sunset, sunrise, etc.
  835. 7) Event conditionals like months, frozen, vacation, and
  836. 7a) up to 8 user-defined conditionals 
  837.  
  838. The "extra" info. is used by X10MSW to determine if a particular event 
  839. should be downloaded to the CP290, or if the time should be calculated by 
  840. X10MSW before it is downloaded.  An event which X10MSW determines 
  841. should not happen is still downloaded to the CP290, but it is scheduled to 
  842. occur on no days.  This way, the current events window has all the events 
  843. you have specified.  This "extra" info is saved in the CP290 graphics RAM.
  844.  
  845. Events are displayed in a listbox in event windows.  See
  846. How Events Are Displayed.
  847. Event Dialog Box
  848.  
  849. Events can also be kept in event files, which X10MSW likes to give an 
  850. extension of .x10.  
  851.  
  852.  
  853. --------------------------------------------------------------------------
  854. Event Dialog Box
  855.  
  856. The event dialog is used whenever you are adding or changing an event.  It 
  857. is a pretty busy dialog.  Listed below are the things you will want to do with 
  858. the event dialog in order to get events to be the way you want them:
  859.  
  860. Specifying Event Housecode and Unit(s)
  861. Specifying Event Days
  862. Specifying Event Times
  863. Specifying Event Conditionals
  864.  
  865. Use the OK button to add/change the event
  866. When adding, use the ADD button to add this event and keep the dialog 
  867. going for another new event.  If the previous command turned the unit(s) on, 
  868. this event will turn the unit(s) off, or vice versa.
  869. When changing, use the CHANGE button to change this event and keep 
  870. the event dialog going (see above).  The button will change to ADD.
  871. If you use the ADD or CHANGE button with a current event and the mode 
  872. is immediate,  the event will be downloaded.
  873.  
  874.  
  875. --------------------------------------------------------------------------
  876. Specifying Event Housecode and Unit(s)
  877.  
  878. To specify which unit or units will be affected by an event:
  879.  
  880.  1) Use add/change event to start the event dialog box
  881.  
  882. When you are adding an event, the housecode/unit are initially set to 
  883. whichever unit is selected in the Units window.
  884. 2) Use the drop-down listbox in the upper-left corner to select a defined unit
  885.     - or -
  886. 2) Select a housecode
  887. 3) Select a unit.  To select multiple units, hold down the shift key
  888. and click/select each unit you want affected by this event - either by using 
  889. the unit radio buttons or by clicking one of the units in the drop-down listbox 
  890. (must be the same housecode).
  891.     - or -
  892. Use the All Units button to select all units for a housecode.
  893.  
  894.  
  895. --------------------------------------------------------------------------
  896. Event Time and Time Qualifiers
  897.  
  898. Ultimately, each event is scheduled by the CP290 to occur at some time.
  899.  
  900. Events that occur on some day of the week (not Today or Tommorow) can 
  901. be in security mode, which causes the CP290 to vary the actual time the 
  902. command occurs in a pseudo-random pattern.The actual time will be within 
  903. one hour after the time specified in the event.
  904.  
  905. Event times may take one of the following forms:
  906.  
  907. 1) A specific hour/minute, AM or PM
  908. 2) NOW - just what it means.  These events are not downloaded but
  909. done via the CP290's direct command capability.  Each NOW event is 
  910. counted towards the 128 event limit per event file/download.
  911. 3) Sunrise, or a +/- 59 minute offset from sunrise
  912. 4) Sunset, or a +/- 59 minute offset from sunset
  913.  
  914. Sunrise and Sunset are calculated based on your Latitiude/Longitude,
  915. See Setting Latitude/Longitude and Timezone.    Note that when you 
  916. download events (See Downloading Events) you can tell X10MSW to not 
  917. recalculate sunrise/sunset, otherwise these are recalculated each time you 
  918. download.
  919.  
  920. See Also:
  921.     How Events Are Displayed
  922.     Specifying event times in an event dialog
  923.  
  924.  
  925. --------------------------------------------------------------------------
  926. Security mode causes the CP290 to vary the actual time an event 
  927. occurs within one hour after the scheduled event time in a psuedo-random 
  928. fashion
  929.  
  930.  
  931. --------------------------------------------------------------------------
  932. Normal mode causes the CP290 to perform the event at the time 
  933. scheduled.
  934.  
  935.  
  936. --------------------------------------------------------------------------
  937. How Events Are Displayed
  938.  
  939. Events are displayed in a listbox in each event window.  Events which are 
  940. inactive because of one or more false conditionals are displayed in gray text 
  941. if your display supports gray text, otherwise the event is prefixed with an 
  942. exclamation mark (e.g. on CGA displays).
  943.  
  944. There are several sorting options which will affect what is displayed first and 
  945. hence how events are sorted, but a typical event is displayed as:
  946.  
  947. HU+ [Desc] CMD HH:MM isxx  MTWTFSS Months FV12345678
  948.  
  949. Where:
  950.  
  951. HU is Housecode and Unit.  If the event has multiple units, each is displayed 
  952. on a different line with the "+" indicator.
  953.  
  954. Desc is the Unit description from the Units window.  If the event has multiple 
  955. units, the description is for the unit with the smallest number.
  956.  
  957. CMD is one of:   On    Off   DimX (X is 0-15)  Fade  Up.  If the command is 
  958. prefixed by a hyphen, it means that the current event in the CP290 would 
  959. change if you did a download of the current events window right now.  For 
  960. example, if the event in the CP290 was active only in January and the 
  961. current month is not January, then the command will be prefixed by a 
  962. hyphen.  This usually means you need to download either the current events 
  963. or the event file which was previously downloaded.
  964.  
  965. HH:MM is hour and minute in 12-hour format, i is A for AM and P for PM
  966.     - or -
  967. Now for a direct command.  Note that the current events listbox never 
  968. contain any direct commands since they are not stored in the CP290 and 
  969. are only done when an event file is downloaded.
  970.  
  971. s is S for Security Mode, nothing for Normal mode
  972.  
  973. xx is:
  974.     Nothing for normal time
  975.     sr for sunrise with optional +/- offset (1-59 minutes)
  976.     ss for sunset with optional +/- offset (1-59 minutes)
  977. Note that the actual time which will be downloaded is in HH:MM  For event 
  978. files, this is calculated when the file is opened.  For  current events, this is 
  979. the time uploaded; it is (optionally) recalculated during download.
  980.  
  981. MTWTFSS indicates days of the week, or one of:
  982.     Everyday
  983.     Weekdays
  984.     Weekend
  985.     Today
  986.     Tomorrow
  987.  
  988. Months (JFMAMJJASOND) indicates months of the year, or one of:
  989.     All Year
  990.     Winter
  991.     Spring
  992.     Summer
  993.     Fall
  994.  
  995. FV12345678 indicates any active conditions, such as:
  996.     F for frozen
  997.     V for vacation
  998.     1-8 for the 8 user-defined condition
  999.  
  1000.  
  1001. --------------------------------------------------------------------------
  1002. Specifying Event Times in an Event Dialog
  1003.  
  1004. To specify a time for an event:
  1005.  
  1006. 1) Use add/change event to start the event dialog box
  1007. 2) Use the time qualifier listbox (near the HH:MM and AM/PM button) to 
  1008. select one of:
  1009.     As displayed (no qualifications to the time displayed)
  1010.     Now  - the days scheduled will still apply.
  1011.     Sunrise with optional +/- offset
  1012.     Sunset with optional +/- offset
  1013.       Note that offsets are limited to 1-59 minutes
  1014.       Also note that you cannot specify a Now event in the current events 
  1015. window
  1016. 3) Use the buttons with numbers to select the hour, the minutes "tens", and 
  1017. minutes "ones".  
  1018. 4) Use the AM/PM button as required
  1019. 5) Specify security or normal mode
  1020. Note that security/normal does not apply to events which occur  Today or 
  1021. Tomorrow.
  1022.  
  1023.  
  1024. --------------------------------------------------------------------------
  1025. Event Days
  1026.  
  1027. An event can be scheduled for any day of the week, Sunday through 
  1028. Saturday.  An event can also be scheduled for Today or Tomorrow;  these 
  1029. happen only once and then are deleted by the CP290 once they are 
  1030. executed.
  1031.  
  1032. See Also:
  1033.     How Events Are Displayed
  1034.     Specifying event days in the event dialog
  1035.  
  1036.  
  1037. --------------------------------------------------------------------------
  1038. Now events are not downloaded but done via the CP290's direct 
  1039. command capability.  They may be affected by event conditionals and by 
  1040. any day of the week.  They count towards the 128 event limit in event files
  1041.  
  1042.  
  1043. --------------------------------------------------------------------------
  1044. Events scheduled for Today or Tomorrow occur only once at the time 
  1045. specified.  The CP290 deletes the events after they have been executed.
  1046. These types of events are always in normal mode
  1047.  
  1048.  
  1049. --------------------------------------------------------------------------
  1050. Specifying Event Days in the Event Dialog
  1051.  
  1052. To specify on which day(s) the event will occur:
  1053.  
  1054. 1) Use add/change event to start the event dialog box
  1055. 2) Select the days of the week as required
  1056.     - or -
  1057. 2) Use the shortcut buttons for everyday, weekdays, or weekends
  1058.     - or -
  1059. 2) Use the Today/Tomorrow buttons.  These types of events are forced into 
  1060. normal mode, and cannot be Now events
  1061.  
  1062.  
  1063. --------------------------------------------------------------------------
  1064. Event Conditionals
  1065.  
  1066. When an event contains conditionals, X10MSW will determine if the event 
  1067. should occur.  If it should, it is downloaded as normal to the CP290.  If not, 
  1068. it is downloaded to occur on no days (the days you specified are saved 
  1069. elsewhere).
  1070.  
  1071. Events which are qualified to not occur are displayed in grey text in event 
  1072. windows (or prefixed with an exclamation mark for displays that cannot 
  1073. display grey text such as CGAs).
  1074.  
  1075. The following event conditionals are supported:
  1076.  
  1077. 1) Month of the year
  1078. 2) Frozen events which do not occur until you "thaw" them
  1079. 3) Vacation
  1080. 4) up to 8 user-defined conditions which allow you to build up your own 
  1081. conditions.This allows you to specify, for example, which events you want to 
  1082. happen only when you have guests staying with you by defining a 
  1083. conditional called "guests".
  1084.  
  1085. See Also:
  1086.     How Events Are Displayed
  1087.     Specifying Event Conditionals
  1088.     Setting/resetting Event Conditionals
  1089.     Defining user-defined Event Conditional
  1090.  
  1091.  
  1092. --------------------------------------------------------------------------
  1093. Specifying Event Conditionals
  1094.  
  1095. You can specify conditions for a specific event via add/change event, or you 
  1096. can add or strip a conditional for all events in an event window.
  1097.  
  1098. To specify conditionals for a specific event:
  1099.  
  1100. 1) Use add/change event to start the event dialog box
  1101. 2) Check the box(es) for the conditionals you wish to apply:
  1102.     Frozen events never occur until they are un-frozen (thawed?)
  1103.     Vacation
  1104.     User-defined conditionals
  1105.     Months of the year - you can use the shortcut buttons
  1106.       Shifted shortcut buttons are "additive".
  1107.  
  1108. To add or strip conditionals for all events in a window:
  1109.  
  1110. 1) Select the event window
  1111. 2) Choose the  Global Cond Set or Global Cond Strip item in the Edit 
  1112. menu
  1113.  
  1114. The user-defined conditionals are listed as "User1 - User8"; the drop-down 
  1115. menu does not have the conditional names.
  1116. The numbers 1-8 correspond to the numbers displayed in the dialog box 
  1117. used to define/set/reset conditionals (See Defining Event Conditionals).
  1118.  
  1119. Note that you cannot globally set or strip conditions when in immediate 
  1120. mode.(See Working with Current Events).
  1121.  
  1122. 3) Choose the conditional you which to add/strip.  Note that you can choose 
  1123. a conditional which has no name defined.
  1124.  
  1125.  
  1126.  
  1127. --------------------------------------------------------------------------
  1128. Setting/resetting Event Conditionals
  1129.  
  1130. You can set or reset conditions which will affect which events are to be 
  1131. downloaded as active by X10MSW.  The conditions which you can set/reset 
  1132. and hence affect any events which are subject to these conditions (see 
  1133. Event Conditionals) are:
  1134.     Vacation
  1135.     1-8 user-defined conditions
  1136.  
  1137.  
  1138. To set or reset an event conditional:
  1139.  
  1140. 1) Select any event window
  1141. 2) Choose the Set Conditionals item in the Options menu
  1142.  
  1143. To set a condition, check its checkbox; to reset uncheck it.
  1144.  
  1145. The conditional is set/reset for all event windows.  Its state is stored in the 
  1146. x10.ini file.
  1147.  
  1148.  
  1149. --------------------------------------------------------------------------
  1150. Defining user-defined Event Conditionals
  1151.  
  1152. To define or change a user-defined Conditional:
  1153.  
  1154. 1) Select any event window
  1155. 2) Choose the Set Conditionals item in the Options menu
  1156.  
  1157. Each conditional has an edit box for its name, and a checkbox to make the 
  1158. condition "true" or "false".  To delete a conditional, just clear out its name.
  1159.  
  1160. If you delete a conditional and some event in the active event window is 
  1161. dependent on the conditional you will be notified.  You may want to use the 
  1162. Global Condition Strip (see Specifying Event Conditionals) to remove any 
  1163. dependencies.  Note that other event files may still have this dependency so 
  1164. you should think carefully about deleting user-defined conditionals..
  1165.  
  1166. The conditionals are stored in the x10.ini file
  1167.  
  1168.  
  1169. --------------------------------------------------------------------------
  1170. Opening an Event file
  1171.  
  1172. To open an Event file:
  1173.  
  1174. 1) Use the File menu in any window
  1175. 2) Select Open to open a file into a new event window
  1176.     - or -
  1177. 2) Select OpenAnother to open a file into the currently active event window.  
  1178. If you have made changes to the event file, you will be asked to confirm 
  1179. abandoning the changes.
  1180. 3) Use the dialog box to select a file to open
  1181.  
  1182. Note that if you change directories, you can tell X10MSW to remember the 
  1183. directory for next time it is started by using the checkbox in the dialog box.
  1184.  
  1185. You will get an error message if the event file is corrupt or not readable.
  1186.  
  1187. If the Open is successful, a new Event window will be displayed with the 
  1188. name of the file in the title bar and the events displayed in a listbox.  If 
  1189. theOpenAnother is successful, the Event window title bar will be changed 
  1190. to reflect the new open file, and the listbox will contain the events from that 
  1191. file
  1192.  
  1193.  
  1194. --------------------------------------------------------------------------
  1195. Adding an Event
  1196.  
  1197. To add a new Event:
  1198.  
  1199. 1) Use the Edit menu in any event window
  1200. 2) Use the Add item
  1201.  
  1202. You will get an event dialog box to specify the event.
  1203. After exiting the event dialog box, the event you added will be selected in the 
  1204. listbox.
  1205.  
  1206. When in the event dialog box, you can use the Add button to add an event 
  1207. and keep the dialog box going for another new event.  The command will 
  1208. toggle between on and off.
  1209.  
  1210. If you add a current event and the current events window is in immediate 
  1211. mode (See Working with Current Events), the change will be made 
  1212. immediately
  1213.  
  1214.  
  1215. --------------------------------------------------------------------------
  1216. Deleting an Event
  1217.  
  1218. To delete an event:
  1219.  
  1220. 1) Select an event in the listbox
  1221. 2) Use the Del key or the Edit menu
  1222.  
  1223. Don't forget that an event which affects multiple units will be displayed as 
  1224. multiple lines in the listbox (these have a + after the housecode/unit).  When 
  1225. you delete any of the lines that make up an event, that entire event is 
  1226. deleted.If you want to remove a particular unit from that event, change the 
  1227. event.
  1228.  
  1229. If you delete an event in the current event window and it is in immediate 
  1230. mode (See Working with Current Events), the change will be made 
  1231. immediately
  1232.  
  1233.  
  1234. --------------------------------------------------------------------------
  1235. Changing an Event
  1236.  
  1237. To change an event:
  1238.  
  1239. 1) Double-click the event in the listbox you wish to change
  1240.     - or -
  1241. 1) Use the Change item in the Edit menu
  1242.  
  1243. You will get an event dialog box to change the event. If possible, the event 
  1244. you changed will be selected upon return from the event dialog box.
  1245.  
  1246. When in the event dialog box, you can use the Change button to change an 
  1247. event and keep the dialog box going for another new event.  The command 
  1248. will toggle between on and off,  and the Change button will change to Add.
  1249.  
  1250. If you change a current event and the current events window is in immediate 
  1251. mode (See Working with Current Events), the change will be made 
  1252. immediately
  1253.  
  1254. --------------------------------------------------------------------------
  1255. Using the Clipboard
  1256.  
  1257. The standard clipboard functions (Cut, Copy, Paste) can be used in any 
  1258. event window.  The functions have standard accelerator keys.  Events are 
  1259. put into the clipboard in a private format and so cannot be edited by other 
  1260. Windows applications.
  1261.  
  1262. --------------------------------------------------------------------------
  1263. Appending from Another Event file
  1264.  
  1265. To append from another Event file:
  1266.  
  1267. 1) Use the File menu in any event window
  1268. 2) Select the Append item
  1269. 3) Select the event file you wish appended
  1270.  
  1271. Note that you cannot append to the current events window in immediate 
  1272. mode (See Working with Current Events).
  1273.  
  1274. Don't forget about the limit of 128 events (including now events) per event 
  1275. file and that the CP290 cannot hold more than 128 events
  1276.  
  1277.  
  1278. --------------------------------------------------------------------------
  1279. Saving an Event file
  1280.  
  1281. To save an event file:
  1282.  
  1283. 1) Use the File menu in any event window
  1284. 2) Select either Save to save the events to the same file as is displayed in 
  1285. the event window title bar
  1286.     - or -
  1287. 3) Select Save As to save the events into a file with a name you specify.
  1288.  
  1289. Note that the current event window only allows the Save As operation.
  1290. If you change directories as part of specifying the file name, you can tell 
  1291. X10MSW to remember the directory for next time it is started by using the 
  1292. checkbox in the file Save dialog.
  1293.  
  1294. If, when using Save As, you specify a file name that already exists, you are 
  1295. asked to confirm you want to overwrite the file
  1296.  
  1297.  
  1298. --------------------------------------------------------------------------
  1299. Creating a New Event File
  1300.  
  1301. To create a new event file:
  1302.  
  1303. Use the New item of any window's File menu.
  1304.  
  1305. The new event window will be given a title of Untitled.  Both the Save and 
  1306. Save As menu items act as Save As when you go to save the events.
  1307.  
  1308.  
  1309. --------------------------------------------------------------------------
  1310. Downloading Events
  1311.  
  1312. To download a set of events to the CP290:
  1313.  
  1314. 1) Use the File menu in any event window
  1315. 2) Use the Download item - X10MSW will recalculate any time(s) like 
  1316. sunrise, sunset, etc.
  1317.   - or  for the current event window you may -
  1318. 3) Use the Download - no sun recalc. to download without recalculating 
  1319. any time(s) like sunrise, sunset, etc.
  1320.  
  1321. A dialog box is displayed during the download allowing you to see the 
  1322. progress of the download and to stop the download.  The keyboard/mouse 
  1323. is disabled when the mouse is within in the X10MSW window during a 
  1324. download.
  1325.  
  1326. Upon completion of a download from any event file window (not the current 
  1327. events window), the current events window is updated to reflect the events 
  1328. downloaded
  1329.  
  1330.  
  1331. --------------------------------------------------------------------------
  1332. Uploading Events
  1333.  
  1334. To upload a set of events from the CP290:
  1335.  
  1336. 1) Select the current events window
  1337. 2) Use the File menu
  1338. 3) Select the Upload item
  1339.   - or -
  1340. 4) Select the Upload - no conditionals item to upload events without any of 
  1341. the X10MSW-unique conditional information like months, frozen, vacation, 
  1342. etc.  This is useful when you are uploading for the first time after using 
  1343. some other X10 software.  The events uploaded are forced to have all 
  1344. month conditionals on and all user-defined conditionals off.
  1345.  
  1346. A dialog box is displayed during uploading and shows you how the upload 
  1347. is progressing.  The keyboard/mouse is disabled when the mouse is within 
  1348. the X10MSW window during the upload.
  1349.  
  1350.  
  1351. --------------------------------------------------------------------------
  1352. Controlling how Events are Sorted
  1353.  
  1354. Events can be displayed with the housecode/unit first, or with the time first.
  1355.  
  1356. To change how events are sorted:
  1357.  
  1358. 1) Use the Options menu in any event window
  1359.  
  1360. The sort option takes effect in that event window only
  1361.  
  1362.  
  1363. --------------------------------------------------------------------------
  1364. Setting Latitude/Longitude and Timezone
  1365.  
  1366. In order to calculate the time of day for sunrise and sunset, X10MSW must 
  1367. know your latitude and longitude.  These are available from almanacs, 
  1368. maps(?), etc.
  1369.  
  1370. X10MSW also calculates whether daylight savings is in effect via the TZ 
  1371. environment variable.  This has the format  TZ=zzz[+/-]d[d][lll] where zzz is 
  1372. a three-character string representing the name of the current time zone,  [+/-
  1373. ]d[d] is a required field containing an optionally signed number with 1 or 
  1374. more digits specifying the local time zone's difference from GMT in hours, 
  1375. and [lll] is an optional three-character string which, if present, indicates
  1376. that  standard US daylight savings applies.  TZ defaults to EST5EDT.
  1377.  
  1378. To specify your Latitude and Longitude:
  1379.  
  1380. 1) Use the Options menu in any event window
  1381. 2) Select the Specify Lat/Long item
  1382.  
  1383. Use the edit boxes to specify the values in degrees (only minutes, no 
  1384. seconds).
  1385. Use the ReCalc button to recalculate and show the various times
  1386.  
  1387. 3) Use the OK button to actually change the values.
  1388.  
  1389. The values for Latitude and Longitude are saved in the x10.ini
  1390. file.  X10MSW comes with a file (latlong.dat) which contains the latiitude 
  1391. and longitude of major cities around the world.  You can use your favorite 
  1392. editor or Windows Notepad to search the file.
  1393.  
  1394. To specify that daylight savings does not apply:
  1395.  
  1396. Before starting Windows, set a TZ environment variable (See your DOS 
  1397. manual) which does not have the [lll] part described above, e.g. EST5
  1398.  
  1399.  
  1400. --------------------------------------------------------------------------
  1401. Working with Current Events
  1402.  
  1403. The current events window is meant to always reflect the current contents of 
  1404. the CP290's RAM.  It starts out minimized and uploads the contents of the 
  1405. CP290 when it is first restored.  The current events window is pretty much 
  1406. like other event file windows, with the following differences:
  1407.  
  1408. It is only in the current events window that you can upload events.
  1409.  
  1410. The current events window can send any changes/additions you make 
  1411. immediately or you can make all the changes at once (called download).  To 
  1412. have changes be done immediately, select the Immediate Mode item in the 
  1413. Options menu of the current events window.
  1414.  
  1415. When you download another event file, the current events window is 
  1416. updated to reflect the contents of the CP290.
  1417.  
  1418. You cannot close the current events window (you can minimize it).
  1419.  
  1420. Direct commands (now) are not stored in the CP290 since they are done 
  1421. during download and then do not need to be remembered, so the current 
  1422. events window will never have direct command (now) events
  1423.  
  1424.  
  1425. --------------------------------------------------------------------------
  1426. Closing an event window
  1427.  
  1428. To close an event window:
  1429.  
  1430. 1) Use the File menu of any event window except current events
  1431. 2) Choose the Close item
  1432.  
  1433. If you have made any changes to an event file and have not saved them to a 
  1434. file or have made changes to the current events window and not 
  1435. downloaded them, you will be asked to confirm abandoning the changes.  If 
  1436. you want to save the changes, answer No and save the events (for an event 
  1437. file window) or download the events (for the current events window)
  1438.  
  1439.  
  1440. --------------------------------------------------------------------------
  1441. Printing an event file
  1442.  
  1443. To print an event file or the current events:
  1444.  
  1445. 1) Use the File menu of any event window including current events
  1446. 2) Choose the Print item
  1447.  
  1448. The printed output includes:
  1449.  
  1450.     The name of the event file and current date/time
  1451.     Any user-defined conditionals, and the "vacation" state
  1452.     All events, double spaced.  See How events are displayed.  Inactive 
  1453. events are prefixed with an exclamation point; these would be displayed in 
  1454. grey text on a display that supports grey text output
  1455.  
  1456.  
  1457. --------------------------------------------------------------------------
  1458. Immediate Mode
  1459.  
  1460. Any changes made to events in the current event window will be sent to the 
  1461. CP290 immediately.  If you have only a few changes to make, this will be 
  1462. faster than having to download the entire set of current events
  1463.  
  1464.  
  1465. --------------------------------------------------------------------------
  1466. Delayed Mode
  1467.  
  1468. Any changes made to events in the current event window will be made 
  1469. inside X10MSW only.  You must download the current events to the CP290 
  1470. in order for the changes to take effect.
  1471.  
  1472.  
  1473. --------------------------------------------------------------------------
  1474. Unit
  1475.  
  1476. Each X10 (or compatible) module, wall switch, etc. is a separate unit.  Each
  1477. unit has a housecode and unit number which you set.  Generally, each unit is
  1478. a different lamp, appliance, etc, although you can assign the same housecode
  1479. and unit number to multiple modules, wall switch, etc. and they all get lumped
  1480. together under one unit.
  1481.  
  1482.  
  1483. --------------------------------------------------------------------------
  1484. Housecode
  1485.  
  1486. A letter from A to P.  Generally all your units will have the same housecode, 
  1487. although if you have more than 16 units you will need to use more than one 
  1488. housecode.  Housecodes prevent confusion should your neighbor be using X10 
  1489. units and command are crossing over between houses
  1490.  
  1491.  
  1492. --------------------------------------------------------------------------
  1493. Lamp
  1494.  
  1495. A type of unit (wall module or wall switch) which can be used to control 
  1496. incandescent lamps only.  These units are capable of dimming the lamp and so 
  1497. should not be used with appliances
  1498.  
  1499.  
  1500. --------------------------------------------------------------------------
  1501. Appliance
  1502.  
  1503. A type of unit (wall module) which can be used to control appliances, lamps,
  1504. etc.  These units are not capable of dimming.  They contain a latched relay
  1505. which during a power failure will stay in their previous "state" (on or off).
  1506.  
  1507.  
  1508. --------------------------------------------------------------------------
  1509. Unit Number
  1510.  
  1511. A number from 1 to 16 which is set on each unit.  Commands to control a unit
  1512. (turn it on, off, etc) always contain a unit number which specifies which
  1513. unit to control.
  1514.  
  1515.  
  1516. --------------------------------------------------------------------------
  1517. Description
  1518.  
  1519. A text string which should describe what or where a unit is, e.g. Livingroom
  1520. Table.   It should not contain words like lamp, appliance, etc. since the
  1521. unit's icon will tell you that.  It should not be too long or the icon will
  1522. take up too much room in the main window.  This can never be longer than 64
  1523. characters
  1524.  
  1525.  
  1526. --------------------------------------------------------------------------
  1527. Type
  1528.  
  1529. Each unit has a type.  X10MSW has a bunch of pre-defined types such as lamp, 
  1530. appliance, fan, radio.  You can also define your own types and icons to go
  1531. along with them.  You can specify new icons for the pre-defined types too,
  1532. although you must specify both an "on"  and "off" icon.  Only lamp type
  1533. units can be dimmed
  1534.  
  1535.  
  1536. --------------------------------------------------------------------------
  1537. Base Housecode
  1538.  
  1539. The CP290 has a base housecode which is used when you depress the keys on top
  1540.  
  1541.  
  1542. --------------------------------------------------------------------------
  1543. Dim
  1544.  
  1545. A lamp unit can be dimmed to one of 16 (0-15) levels, with 0 being the
  1546. brightest and 15 the dimmest.  X10MSW uses hexadecimal notation
  1547. (10-15 is a-f) so that accelerators can be used to specify a dim level.
  1548.  
  1549.  
  1550. --------------------------------------------------------------------------
  1551. Up
  1552.  
  1553. This undocumented CP290 command causes an "All Lights Off" X10 command 
  1554. followed by several bright commands to the selected unit.  The "All Lights Off" 
  1555. command is not standard and is not obeyed by all X10-compatible modules
  1556.  
  1557.  
  1558. --------------------------------------------------------------------------
  1559. Fade
  1560.  
  1561. This command will turn any unit off.  Lamp units are dimmed to fully off,
  1562. appliance modules are switched off.  This is not documented in the CP290
  1563. documentation but seems to work very reliably
  1564.  
  1565.  
  1566. --------------------------------------------------------------------------
  1567. Bright
  1568.  
  1569. This command will cause a lamp unit to increase in brightness.  If it is
  1570. currently off it is turned fully on.  This is supported only when using
  1571. the PLIX interface.
  1572.  
  1573.  
  1574. --------------------------------------------------------------------------
  1575. x10.ini
  1576.  
  1577. This file contains all the unit information in "Windows" format.  It must be in your 
  1578. windows directory. You can edit it manually, the format should be pretty easy to 
  1579. figure out
  1580.  
  1581.  
  1582. --------------------------------------------------------------------------
  1583. Selected
  1584.  
  1585. When a unit is selected, its housecode/unit number and description are highlighted.  
  1586. The color used for the background follows the active title bar background
  1587.  
  1588.  
  1589. --------------------------------------------------------------------------
  1590. Demo Mode
  1591.  
  1592. When X10MSW runs in demo mode, no com port is needed, and no CP290 is 
  1593. needed.  Almost all actions are simulated; exceptions are:
  1594.  
  1595. - you cannot download an events file (you can save to a file)
  1596. - upload causes the file current.x10 to be opened and read
  1597. - changes to base housecode are not remembere
  1598.  
  1599.  
  1600. --------------------------------------------------------------------------
  1601. Event
  1602.  
  1603. An event tells the CP290 to control some unit at some time on some day(s).  Events 
  1604. are stored in the CP290's battery backed-up memory and executed by the CP290 at 
  1605. their appointed time on their appointed day(s).  Each event can cause one 
  1606. command, such as on, off, dim, etc.  Each event can control up to 16 units, but they 
  1607. must all have the same housecode
  1608.  
  1609.  
  1610. --------------------------------------------------------------------------
  1611. PLIX Interface
  1612.  
  1613. X10MSW supports a PLIX evaluation board from Micromint Inc.  which uses a 
  1614. standard parallel printer port (LPT1-3) to interface to a TW523 bi-directional 
  1615. powerline interface from X10 USA.  This allows X10MSW to monitor all X10 
  1616. commands and to issue "bright" commands (which the CP290 does not support).
  1617. The PLIX interface is used for on, off, dim, bright, all lights on, and all units off 
  1618. commands either direct or via now events.
  1619.  
  1620. The PLIX evaluation board and TW523 can be ordered from:
  1621.      Micromint Inc
  1622.      4 Park Street
  1623.      Vernon, CT  06066
  1624.      (203) 872-2204
  1625.  
  1626. For best operation, use the PLIX evaluation board with a battery or an AC adapter 
  1627. which connects via the battery leads rather than via the J5 connection.
  1628.